package appmodelo.modulo1.web.constante;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import javax.inject.Inject;

import org.primefaces.model.menu.MenuModel;

import appmodelo.modulo1.web.componente.view.model.MenuPrincipalControler;


@ManagedBean
@SessionScoped
public class LoginController {
	
	@Inject
	private MenuPrincipalControler menuPrincipalControler;
	
	public MenuModel getMenuPrincipal() {
		return this.menuPrincipalControler.getMenu(); 
	}
}
